<?php
class CartPanel_Form_Zone extends Ext_Form
{
    public function init()
    {
        $this->setMethod('post');

		$this->addElement('text', 'parent_zone_id', array(
            'label'      => 'Zona Padre:',
            'required'   => true,
            'filters'    => array('StringTrim'),
            'validators' => array()
		
		));
		$this->parent_zone_id->setAttrib( 'readonly', false );
				
		$this->addElement('text', 'name', array(
            'label'      => 'Nombre:',
            'required'   => true,
            'filters'    => array('StringTrim'),
            'validators' => array()
        ));

        $this->addElement('select', 'shipping_method_id', array(
            'label'      => 'Shipping method id:',
            'required'   => false,
            'filters'    => array('StringTrim'),
            'validators' => array()
        ));
        
        // Add the submit button
        $this->addElement( new Ext_Form_Element_Toolbar('Enviar' ) );
        
    }
}

